# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>

pkgname=python-zope-event
pkgver=4.6
pkgrel=2
pkgdesc="Provides a simple event system"
arch=(any)
license=('ZPL')
url="https://github.com/zopefoundation/zope.event"
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/zopefoundation/zope.event/archive/${pkgver}.tar.gz")
sha512sums=('b08b0636bec8c79bd62d4d42e872b184c0a2755c7f4f50f7cbfc53e27931b5741dacdc426c80c959a61be2412425ab968f705b74bebcd0e20de6686a434e9fb8')
makedepends=('python-setuptools')

build() {
  cd "${srcdir}/zope.event-${pkgver}"
  python setup.py build
}

check() {
  cd "${srcdir}/zope.event-${pkgver}"
  python setup.py test
}

package() {
  cd "$srcdir/zope.event-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et:
